package com.ed100.sass.patter.observer;

public class Subject extends AbstractSubject {

	@Override
	public void operation() {
		System.out.println("update self!!!");
		notifyObservers();
	}

	public static void main(String[] args) {
		SubjectInterface subject = new Subject();
		
		subject.add(new Observer1());
		subject.add(new Observer2());
		
		subject.operation();
	}
}
